package com.maple.mapper;

import com.maple.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    public User selectUserById(int id);
    public User selectUserByName(String username);
    public int insertUser(User user);
}
